/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.ex;

/**
 * <p>Project: jse2302 - Person
 * <p>Powered by webrx On 2023-06-16 14:19:07
 * <p>Created by IntelliJ IDEA
 *
 * @author  webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Person {
    private String name;
    public int age = 18;

    //public Person() {
    //    super();
    //}

    public Person(int age) {
        this.age = age;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = "父" + name;
    }
}
